package com.fjw.dao;

import com.fjw.entity.Student;

import java.sql.SQLException;
import java.util.List;

public interface StudentDao {
    List<Student> selectAllList() throws SQLException;

    Student selectBySid(Integer sid) throws SQLException;

    int  updateStudent(Student student) throws SQLException;

    int deleteBySid(Integer sid) throws SQLException;

    int addStudent(Student student) throws SQLException;
}
